﻿#pragma once
#include "stdafx.h"
#include "Form2.h"
#include "Form3.h"

namespace Nguyen_Thai_Kieu_SAI_GLTest {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for Form1
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Button^  BT_HuongDan;
	protected: 
	private: System::Windows::Forms::Button^  bt_Choi;
	private: System::Windows::Forms::Button^  button3;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->BT_HuongDan = (gcnew System::Windows::Forms::Button());
			this->bt_Choi = (gcnew System::Windows::Forms::Button());
			this->button3 = (gcnew System::Windows::Forms::Button());
			this->SuspendLayout();
			// 
			// BT_HuongDan
			// 
			this->BT_HuongDan->BackColor = System::Drawing::Color::Blue;
			this->BT_HuongDan->Font = (gcnew System::Drawing::Font(L"Ravie", 12, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->BT_HuongDan->ForeColor = System::Drawing::Color::Yellow;
			this->BT_HuongDan->Location = System::Drawing::Point(439, 220);
			this->BT_HuongDan->Name = L"BT_HuongDan";
			this->BT_HuongDan->Size = System::Drawing::Size(144, 36);
			this->BT_HuongDan->TabIndex = 0;
			this->BT_HuongDan->Text = L"HƯỚNG DẪN";
			this->BT_HuongDan->UseVisualStyleBackColor = false;
			this->BT_HuongDan->Click += gcnew System::EventHandler(this, &Form1::BT_HuongDan_Click);
			// 
			// bt_Choi
			// 
			this->bt_Choi->BackColor = System::Drawing::Color::Blue;
			this->bt_Choi->Font = (gcnew System::Drawing::Font(L"Ravie", 12, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->bt_Choi->ForeColor = System::Drawing::Color::Yellow;
			this->bt_Choi->Location = System::Drawing::Point(476, 262);
			this->bt_Choi->Name = L"bt_Choi";
			this->bt_Choi->Size = System::Drawing::Size(134, 37);
			this->bt_Choi->TabIndex = 1;
			this->bt_Choi->Text = L"BẮT ĐẦU";
			this->bt_Choi->UseVisualStyleBackColor = false;
			this->bt_Choi->Click += gcnew System::EventHandler(this, &Form1::bt_Choi_Click);
			// 
			// button3
			// 
			this->button3->BackColor = System::Drawing::Color::Blue;
			this->button3->Font = (gcnew System::Drawing::Font(L"Ravie", 12, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->button3->ForeColor = System::Drawing::Color::Yellow;
			this->button3->Location = System::Drawing::Point(537, 305);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(95, 32);
			this->button3->TabIndex = 2;
			this->button3->Text = L"THOÁT";
			this->button3->UseVisualStyleBackColor = false;
			this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"$this.BackgroundImage")));
			this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Center;
			this->ClientSize = System::Drawing::Size(700, 442);
			this->Controls->Add(this->button3);
			this->Controls->Add(this->bt_Choi);
			this->Controls->Add(this->BT_HuongDan);
			this->DoubleBuffered = true;
			this->Name = L"Form1";
			this->Text = L"Chào bạn! ^_^";
			this->ResumeLayout(false);

		}
#pragma endregion
	private: System::Void BT_HuongDan_Click(System::Object^  sender, System::EventArgs^  e) {
				 Form2^ f2 = gcnew Form2();
				 f2 -> Show();
			 }
	private: System::Void bt_Choi_Click(System::Object^  sender, System::EventArgs^  e) {
				  Form3^ f3 = gcnew Form3();
				  f3 -> Show();

			 }
private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
			 Application::Exit();
		 }
};
}

